package com.doupi.partner.service.dto;

import com.doupi.partner.dal.model.AdministratorPermission;
import com.doupi.partner.dal.model.AdministratorRole;
import com.doupi.partner.dal.model.AdministratorRoleHasPermission;

import java.util.List;

/**
 * 角色DTO
 * 
 * @author Super Jens Wang
 * @version 1.0 $id: AdministratorRoleDto.java 2016年10月25日 上午10:25:58 Wang Le $
 */
public class AdministratorRoleDto extends AdministratorRole {

	private static final long serialVersionUID = 8946884124693007998L;

	private List<AdministratorRoleHasPermission> administratorRoleHasPermissions;

	private List<AdministratorPermission> administratorPermissions;

	public List<AdministratorRoleHasPermission> getAdministratorRoleHasPermissions() {
		return administratorRoleHasPermissions;
	}

	public void setAdministratorRoleHasPermissions(List<AdministratorRoleHasPermission> administratorRoleHasPermissions) {
		this.administratorRoleHasPermissions = administratorRoleHasPermissions;
	}

	public List<AdministratorPermission> getAdministratorPermissions() {
		return administratorPermissions;
	}

	public void setAdministratorPermissions(List<AdministratorPermission> administratorPermissions) {
		this.administratorPermissions = administratorPermissions;
	}
}
